package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.SalesReceiptMapper;
import com.spark.incoicings.service.SalesReceiptService;
import com.spark.invoicings.entity.SalesReceipt;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class SalesReceiptServiceImpl extends ServiceImpl<SalesReceiptMapper,SalesReceipt> implements SalesReceiptService {
    @Resource
    private SalesReceiptMapper sm;
    @Override
    public List<SalesReceipt> selectAll(Map<String, Object> map) {
        return sm.selectAll(map);
    }
}
